package com.vhall.component.entity.room.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.vhall.component.entity.subject.enums.StatusEnum;
import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author shimingming
 * @since 2023/6/7 13:02
 */
@Data
public class ReservationVO implements Serializable {

    /**
     * 标记位
     * 0 关
     * 1 开
     * <p>
     * {@link StatusEnum}
     */
    @NotNull(message = "标记位不能为空！")
    @JsonProperty("type")
    @ParamName("type")
    private Integer type;

    @NotNull(message = "il_id 不能为空！")
    @JsonProperty(value = "il_id")
    @ParamName(value = "il_id")
    private Integer ilId;
}
